package com.zl.task.service.impl;

import com.baomidou.mybatisplus.core.toolkit.Wrappers;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.zl.task.dao.ServiceIndustryMapper;
import com.zl.task.pojo.ServiceIndustry;
import com.zl.task.service.IServiceIndustryService;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author yinlingeng
 * @since 2021-07-23
 */
@Service
public class ServiceIndustryServiceImpl extends ServiceImpl<ServiceIndustryMapper, ServiceIndustry> implements IServiceIndustryService {


    /**
     * 行业列表
     *
     * @return ServiceIndustry
     */
    @Override
    public List<ServiceIndustry> listIndustry() {
        return baseMapper.selectList(Wrappers.<ServiceIndustry>lambdaQuery());
    }
}
